package chpt07;

public class Division {
	static int getQuotient(int dividend, int divsor) {
		int quotient = dividend / divsor;
		return quotient;
	}

	public static void main(String[] args) {
		int dividend = 10;
		int divsor = 0;
		System.out.println("被除数" + dividend + 
				"除以除数" + divsor + 
				"的商为：" + getQuotient(dividend, divsor));
		System.out.println("程序结束！");
	}
}

